function promptWindow(content, state, time) {
	if (state == null) state = "success";
	if (time == null) time = 1000;
	
	var width = 245;
	var height = 50;
	var left = ($(window).width() - width) / 2 + $(document).scrollLeft();
	var top = ($(window).height() - height) / 2 + $(document).scrollTop();
	
	var promptDiv = $("<div style=' width:"+width+"px; height:"+height+"px; line-height:"+height+"px; background-color:#FFFFD7;" +
			" border-radius:2px;font-size:12px; text-align:center;display:block; position:absolute; left:"+left+"px;" +
					" border:1px solid #ACE4FF; top:"+top+"px;z-index:1000'><font color='' id='promptDiv'>"+content+"</font></div>");
	promptDiv.appendTo('body');

	window.setTimeout(function(){
			promptDiv.animate({opacity:"0"},500);
			window.setTimeout(function(){
					promptDiv.remove();
					
				}, 500);
		}, time);
}